<div id="popOverlay" style="display:none;"></div>
<div id="userPannel" style="display:none;">
	<div class="tab clearfix">
		<ul>
			<li id="userTab_1" class="on">会员登录</li>
			<li id="userTab_2">会员注册</li>
		</ul>
		<div class="close" title="关闭"></div>
	</div>
	
	<!-- -->
	<div id="userPannel_1" class="pannel clearfix">
		<form id="formLogin" method="POST" action="<{url r='user/site/login'}>">
			<div class="line">
				<label class="hd">用户名(邮箱)：</label>
				<input type="text" class="input middle" name="username" value="<{$smarty.post.username}>" />
			</div>
			<div class="line">
				<label class="hd">密码：</label>
				<input type="password" class="input middle" name="password" />
			</div>
			<div class="line">
				<label class="hd">&nbsp;</label>
				<input type="submit" class="button" value="登录" />
			</div>
			<div class="line">
				<label class="hd">&nbsp;</label>
				<input type="hidden" value="<{$item.num_iid}>" name="num_iid" />
				<a href="<{urlItemJump iid=$item.num_iid}>" class="no_login" target="_blank">先不登录，直接去淘宝看看 >></a>
			</div>
		</form>
	</div>
	
	<!-- -->
	<div id="userPannel_2" class="pannel clearfix" style="display:none;">
		<form id="formRegister" method="POST" action="<{url r='user/site/register'}>">
			<div class="line">
				<label class="hd">用户名(邮箱)：</label>
				<input type="text" class="input middle" name="username" value="<{$smarty.post.username}>" />
			</div>
			<div class="line">
				<label class="hd">密码：</label>
				<input type="password" class="input middle" name="password" />
			</div>
			<div class="line">
				<label class="hd">确认密码：</label>
				<input type="password" class="input middle" name="password2" />
			</div>
			<div class="line">
				<label class="hd">验证码：</label>
				<input type="text" class="input min" name="captcha" />
				<img id="captchaImg" src="<{url r='user/site/captcha'}>" style="vertical-align:middle;" />
				<label id="captchaRef">看不清，请换一个</label>
			</div>
			<div class="line">
				<label class="hd">&nbsp;</label>
				<input type="submit" class="button" value="注册" />
			</div>
			<div class="line">
				<label class="hd">&nbsp;</label>
				<input type="hidden" value="<{$item.num_iid}>" name="num_iid" />
				<a href="<{urlItemJump iid=$item.num_iid}>" class="no_login" target="_blank">先不注册，直接去淘宝看看 >></a>
			</div>
		</form>
	</div>
	
	<!-- -->
	<div class="oauth clearfix">
		<p>您也可以用站外账号登录：</p>
		<ul>
			<li><a target="_blank" href="<{url r='user/login/QQ'}>?" class="qq"></a></li>
			<li><a target="_blank" href="<{url r='user/login/Sina'}>?" class="sina"></a></li>
		</ul>
	</div>
</div>
